VPATH = ./factory : ./graph : ./matrix : ./session : ./exception : ./include : ./test
objs = $(patsubst %.cc,%.o,$(wildcard ./factory/*.cc ./graph/*.cc ./matrix/*.cc \
    ./session/*.cc ./exception/*.cc ./include/*.cc ./graph/ops/*.cc ./test/*.cc \
	./graph/optimizers/*.cc))
CXX = g++
CXXFLAGS = -g -std=c++11

edit : $(objs)
	$(CXX) -o edit $(objs)

.PHONY : clean test
clean :
	-rm -v -f $(objs) edit a.out 
